package cn.cj.erp.common.enums;

import com.fasterxml.jackson.annotation.JsonValue;

/**
 * 出入库标识枚举
 *
 * @author chenjian
 */
public enum WarehouseEnum implements BaseEnum {
    DIRECT("1", "直接出入库"),
    MANAGE("2", "启用出入库管理"),
    ;

    @JsonValue
    private final String value;
    private final String label;

    WarehouseEnum(String value, String info) {
        this.value = value;
        this.label = info;
    }

    @Override
    public String getValue() {
        return value;
    }

    @Override
    public String getLabel() {
        return label;
    }
}
